package net.microfigure.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 慢性病证表
 * </p>
 *
 * @author 林景锋
 * @since 2018-06-23
 */
@TableName("ill_card")
public class IllCard extends Model<IllCard> {

    private static final long serialVersionUID = 1L;

    /**
     * 慢性病证编号
     */
	@TableField("ill_card_no")
	private String illCardNo;
    /**
     * 参合证号
     */
	@TableField("part_no")
	private String partNo;
    /**
     * 身份证号
     */
	@TableField("card_no")
	private String cardNo;
    /**
     * 疾病名称
     */
	@TableField("ill_name")
	private String illName;
    /**
     * 起始时间
     */
	@TableField("start_day")
	private Date startDay;
    /**
     * 终止时间
     */
	@TableField("end_day")
	private Date endDay;
	@TableId(value="id", type= IdType.AUTO)
	private Long id;


	public String getIllCardNo() {
		return illCardNo;
	}

	public void setIllCardNo(String illCardNo) {
		this.illCardNo = illCardNo;
	}

	public String getPartNo() {
		return partNo;
	}

	public void setPartNo(String partNo) {
		this.partNo = partNo;
	}

	public String getCardNo() {
		return cardNo;
	}

	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}

	public String getIllName() {
		return illName;
	}

	public void setIllName(String illName) {
		this.illName = illName;
	}

	public Date getStartDay() {
		return startDay;
	}

	public void setStartDay(Date startDay) {
		this.startDay = startDay;
	}

	public Date getEndDay() {
		return endDay;
	}

	public void setEndDay(Date endDay) {
		this.endDay = endDay;
	}



	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
